//
//  DMCCycleImages.h
//  22-AliPlanet_HomeWork
//
//  Created by dllo on 16/8/4.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "AliData.h"
#import "BigData.h"

@implementation AliData
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        NSMutableArray *dataArray = [NSMutableArray array];
        for (NSDictionary *dictionary in value) {
            BigData *big = [BigData modelWithDictionary:dictionary];
            [dataArray addObject:big];
        }
        _data = dataArray;
    }
}
@end
